class state:
    xPos = 0
    yPos = 0
    parent = None
    orientation = 'n' #char for North/south
    action = '.'
    hasGold = False
    hasPit = False
    hasWumpus = False
    hasArrow = True
    killWumpus = False
    ArrowOrien = 'x' #not fired 
    cost=0 
    grabGold = False
    
    def __init__(self,o,p,x,y, action ,Gold, Pit, Wumpus,Arrow,Aorien,cost,grab, killwumpus):
        self.orientation = o
        self.parent=p
        self.action=action
        self.hasGold = Gold
        self.hasPit = Pit
        self.hasWumpus = Wumpus
        self.hasArrow = Arrow
        self.ArrowOrien = Aorien
        self.xPos=x
        self.yPos=y
        self.cost=0
        self.grabGold=grab
        self.killWumpus = killwumpus
